package com.lq.ecoldchain.ui.main.message

import com.lq.ecoldchain.R
import com.lq.ecoldchain.base.view.BaseFragment
import com.lq.ecoldchain.databinding.FragmentMessageBinding
import com.lq.ecoldchain.ui.main.mainKodein
import com.lq.ecoldchain.util.StateUtil
import kotlinx.android.synthetic.main.fragment_message.*
import org.kodein.di.Kodein
import org.kodein.di.generic.instance

/*
*2018/12/24 0024  18:13
*消息 by lq
*/
class MessageFragment:BaseFragment<FragmentMessageBinding>(){
    override val layoutId = R.layout.fragment_message
    override val viewDelegate: MessageDelegate by instance()

    override fun initView() {
        binding.delegate = viewDelegate
    }

    override val kodein: Kodein =Kodein.lazy {
        extend(parentKodein)
        import(messageKodeinModule)
    }

}